import com.ambulance.Application;
import com.ambulance.project.gen.domain.GenTableColumn;
import com.ambulance.project.gen.mapper.GenTableColumnMapper;
import com.ambulance.project.gen.mapper.GenTableMapper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.List;

/***
 *  @description
 *  @author zhao
 *  @date: 2020/5/11
 *  @version: v1.0
 */

@RunWith(SpringRunner.class)
@SpringBootTest(classes = {Application.class}, webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
public class MyUtiles {


    @Autowired
    private GenTableColumnMapper genTableColumnMapper;

    @Autowired
    private GenTableMapper genTableMapper;

    @Test
    public void test000() {
        List<GenTableColumn> genTableColumns = genTableColumnMapper.selectDbTableColumnsByName("sys_notice");
        System.out.println(genTableColumns);
    }


}
